Improved calculation of start time of next operation

The start time of next operation in Shopfloor was not properly calculated in specific configurations when not returning to the login screen. This has now been fixed.