Really addded possibility to pass functions for each element dropdown item