private static void handleShortcut(final ShortcutItem sc) { String type = sc.getType(); if (type.equals(ShortcutType.OPEN_REQUEST.toString())) { RestClient.getClientFactory().getPlaceController().goTo(new SavedPlace("default")); } else if (type.equals(ShortcutType.SAVE_REQUEST.toString())) { eventBus.fireEvent(new SaveRequestEvent()); } else if (type.equals(ShortcutType.SEND_REQUEST.toString())) { eventBus.fireEvent(new RequestStartActionEvent(new Date())); } else if (type.equals(ShortcutType.HISTORY_TAB.toString())) { RestClient.getClientFactory().getPlaceController().goTo(new HistoryPlace("default")); } GoogleAnalytics.sendEvent("Shortcats usage", "Shortcat used", type); GoogleAnalyticsApp.sendEvent("Shortcats usage", "Shortcat used", type); }