Add confirm on app close. Start working on progress bar during device searching