changed the global alpha threshold to an alpha threshold per button that is configurable