Remove the when clause when setting the ufw ports
Allow 1 change when detecting the ufw status