add switch controll to device view
handle switch state for dashboard devices
change fragment by tab click; add demo apk