Helper method to create dinamically the actionsheet removing the need for macros with limited number of parameters