Refactor ThemeManager logic
Save state when Android kills app and restore this state in next app launch
Format date according to locale
Move some code outside of ChatlogFragment class