added undo last button to habit entry