Button config menu should save config to disk whenever changes are accepted.

As discussed in https://github.com/Ancurio/mkxp/pull/83 I think button config changes should be saved to disk whenever someone is finished setting them up and not only when mkxp exits, since mkxp might crash and thus not save the config.