Added removeObserver from [NSWorkspace sharedWorkspace] in -(void)invalidate to fix crash when wake up from sleep mode