added toast alerts in MainActivity