Preference activity at the beginning added