add onclick listener to toast