Remove details menu and change the way the context is initialized