Fix bug with "0" hours or "0" minutes in the settings form