Small simplifications in BootstrapApplicationListener

By the way of reading the code it did a few simplifications.