Added PreferenceActivity and TextFileActivity