Fixed bug with toast showing.