Implemented habit deletion.