removing extraneous space
added edit option for habits
fixed deleting event items
reordering tabs
moving event list generation