Added break/work check

There was a check prior to this commit that changed workStatus depending
on time of day but I never actually ran a check at any point.
Made workStatus variable global for future use