adding clear last toast func