support 2.x devices

add new prefrence layout to replace swtich with checkbox.
change the notification layout fro 2.x device