added message hadnler from the app to the shell, now handling alerts