Errors dialogs to not close the app in an unexpected way.
Fix a bug spoted by Luan related to the Timer after terrytory conflic.