[MainActivity]Fixed a bug in deleteDay