rewrote some code to make timer control easier
rewrote some code to make timer control easier

So i fixed the resume after refresh problem i demonstrated in class but now the "the pause after refresh" problem has returned. 

I also cleaned up the code so there is more consistency 
and rewrote some functions so that they do more with less code.

I added a globalTime variable so that whenever the countdown timer is being modified other functions are aware and can acces its contents.
WickedSpecialist/Pomodoro,WickedSpecialist/Pomodoro