Fixed bug when saving shifts fails, and the submit button stays disabled