Minor change to doFlux and print call from click handler + added converting string to number to enable strict comparison.