Added some methods regarding hashtag, removeFlag and SettingsViewModel

SettingsController, DatabaseManager and Settings