Fixed bug in ApplicationBar and debug config