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: I1f1e601f772147b7371fdcc58c2a0be5a776913c