add displaying time on the headerbar