added auto work mode after break mode, added warnings before switching to break mode