Fix functions of 'add marker' and 'continue' buttons.