added preference activity changes