Show hidden button when custom list has "value 2" selected

I want to show a hidden button when I select a specific value in custom list (android template). Have tried with setting variable when selecting in list and listening for change to variable in button, but nothing happens.