fix missing time display and better ui refreshing