Refactored tick() to simplify five and single minutes code.