changed main activity to devices.java