Double back key to exit and Update references