trying to use sample extension to create buttons it has been validated but still doesn't work the way I want it to