Count repetitions

Added display and count of total repetitions
Added ability to change timer duration
Added ability to restore last timer duration (using preferences)