Implement the onApplicationDisconnected Callback