fixed notification about undefined APPLICATION_MODE constant when starting daemon