Added application icon and fixed the listener for the shell