Updating icon button variables