fixed a bit of myActivity. Still need to see if works in emulator