Prevent double firing on commad click