Fix NPE when trying to reload resources on a device with hardware navigation buttons

Change-Id: Ia3eef0d7c9f8fcc61f1d0e068cab22e1c7506bc9