Properties
Fires every time a new batch of plugins have been loaded, no guarantee about how often this is run and on which thread Boolean signifies if stuff should be force reloaded (true if force reload, false if reload when necessary).
Setting this will automatically enter the query in the search next time the search fragment is opened. This variable will clear itself after one use. Null does nothing.
Used by DataStoreHelper to fully reload Navigation Rail header picture
Used by DataStoreHelper to fully reload home when switching accounts
Used by DataStoreHelper to fully reload library when switching accounts
Functions
Add file to delete on Exit.
Update lastError variable based on error file, to check if app crashed. Can be called multiple times without changing the lastError variable changing.