move json and ical export buttons
move new messages badge
shift state text update