Looks like you've not defined a Hotkey when asked in EmulationStation input mapping - that's why B resets the current game.
What version of RetroPie are you using ? Can you add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first ?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.