Make a variable to act as a flag to indicate whether timer is stopped or started