Added PreferenceActivity for Scan Time and Gap Time