Now gets and displays messages from phone correctly