toggel visibility and update button css