I see no reason to export a function which returns an object with a single function.

Instead, consider making `buttonEnabler` export `enableAll`, and have `enableAll` take `options` as an argument.