Update smartfs.lua

added a boolean in the button function so we have the option of exiting on pressing it, as if we used button_exit in the usual way