Improved timer functionality and added gradient

Improved timer functionality and added gradient