Fixed some bugs.
Fixed bug with application not working when working from hour is equals to working to hour.
Fixed bug with not changing working hours if working from minute is more than working to hour.