message: Fixed user notification actions and showing the app (mac), closes
diff: @@ -331,21 +331,21 @@ BOOL manualMode = NO;
  }
  - (void)userNotificationCenter:(NSUserNotificationCenter *)center
  - didActivateNotification:(NSUserNotification *)notification
  + didDismissAlert:(NSUserNotification *)notification
  {
  - NSLog(@"didActivateNotification %@", notification);
  + NSLog(@"didDismissAlert %@", notification);
  + // When other notification button is pressed
  +}
  - // ignore close button
  - if (NSUserNotificationActivationTypeActionButtonClicked != notification.activationType &&
  - notification.userInfo[@"pomodoro"] == nil)
  +- (void)userNotificationCenter:(NSUserNotificationCenter *)center
  + didActivateNotification:(NSUserNotification *)notification
  {
  - return;
  - }
  + NSLog(@"didActivateNotification %@", notification);
  - // ignore close button
  - if (NSUserNotificationActivationTypeActionButtonClicked != notification.activationType &&
  - notification.userInfo[@"pomodoro_break"] == nil)
  + // handle user clicking on notification alert
  + if (NSUserNotificationActivationTypeContentsClicked == notification.activationType)
  {
  + [self onShowMenuItem:self];
  return;
  }
  @@ -389,10 +389,15 @@ BOOL manualMode = NO;
  }
  return;
  }
  - }
  - // handle other notifications; we only have reminder at the moment
  - [self onShowMenuItem:self];
  + // handle reminder track button press
  + if (notification.userInfo[@"reminder"] != nil)
  + {
  + char_t *guid = toggl_start(ctx, "", "", 0, 0, 0, "", false);
  + free(guid);
  + return;
  + }
  + }
  }
  - (void)userNotificationCenter:(NSUserNotificationCenter *)center
  