Changed some spacing and created a specific method for finding current acitivity through adb.