Added logic for when a received text saves/fails