buttonlogic ready in buttonLoader method