This code is used to show the selected item from spinner in toast message.