@Override
 public void onDuration(int i) {
   seekBar.setMax(i);
   duration.setText(TimerConverter.progressToTime(i));
 }
 @Override
 public void onProgress(int i) {
   seekBar.setProgress(i);
   progress.setText(TimerConverter.progressToTime(i));
 }