XXXRoundMenuButton: subButtons problem

Hi everybody,

I’m using this framework

and I’ve set 4 buttons. about this. It’s ok. and I’ve found the way to make this button floating on all app. If you like this is my question and my answer:swift floating button on UITabBarController - Stack Overflow

the problem is this: one of these 4 button is a share button. so I want that button be disabled from start and enabled when the roundbutton is on the detailViewController. I thought to set an key of UserDefault setting the value to false in AppDelegate and setting the value to true in the detailviewController, but I don’t know to pass the boolean to the button.

Can you help me?

Thanks