Rework runtime toggle of navbar to allow disabling hard navigation keys

Based on CM's runtime navbar commit by Timo Wendt

Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Change-Id: I01bd83b312745b4a8aa3bde0cf5f02ea99a888cc
Buttons: Prevent toggling disable hardware keys too quickly

Modified for vanir by nuclearmistake

Change-Id: I1f02f06ce8ccf489a465d1a64717c27411410af5