stop repainting when entering edit mode
calculate hours for activity groups