button click working on windows as well