Added controller for timer directive
Added onclick toggle edit mode for timer