Improve the precision of the slider and change the time selector style according to the spec
Fix compilation