top bar buttons working