refactor check twitter and construct settings view