Changed the navbar button active behaviour