Minor replacement of alert with toastmessage