Self contained buttons with record-stop-run flow and enhanced fixed element handling with localstorage support