Fixed NPE when log.debug system property is not set
Implicit condition added to inEnabled button