Updated timing and click counter functions for each delay setting.
Organized code.