added preference layout