Processing in navbar