put MyDeviceFragment in own class file