Emptied output after pressing back