hided applicationbar when needed