Apply hiding function to other button