Changes for the new version of onscreenbuttons