add functionality to didPressAccessoryButton: in demo