# 1.0.1 Patch Notes
## 1.
Fixed an issue where "triggerType" Intent extra wouldn't be passed to MoodSurveyActivity correctly, when the Mood Survey was triggered by a notification.
This lead to information about how the survey was started missing in the database and it would lead to the special situations question being shown to the user when it shouldn't be.
## 2.
Removed GS (Global State) class and moved its functionality into the new GS (Global Shortcuts) class as well as into the existing App class.
The Global State class had to be initialized before being used. This required a reference to the application object and other stuff which wasn't always available depending on which class was the effective entry point of the app.
As as we've learned, EntryActivity, MoodSurveyReminderAlarmReceiver, MoodSurveyReminderSchedulingWorker, and ServerMessagePort classes can all be effective entry point of the application.
The old architecture would lead to crashes when any of these alternative entry points beside EntryActivity was used when the app wasn't running already (and when, therefore, the Global State class wasn't initialized).
The new architecture provides dynamic ways to access the objects and information which the old used to provide. The new architecture should work in any context and it doesn't require an initializer function to be called before it can be used.
Notifications and companion requests will work much more reliably now.
## 3.
Mood Survey Reminders are now scheduled immediately after launching the app for the first time, instead of on the first midnight after launching it for the first time.
Mood Survey Reminders should now start arriving immediately after opening the app instead of one day later.
## 4.
The time when a notification was sent is now passed into MoodSurveyActivity when starting the Survey though said notification. The time of notification is now correctly stored into the database entry for a Mood Survey response if the relevant Mood Survey was triggered by a notification. (In the field "notificationDateTime")
## 5.
Improvements to the look and text of notifications.
## 6.
Added documentation and cleaned up some code.