Added functionality buttons to the time directive