fix NPE on line pointerSettingsCategory

when the keyboard is open and the user open the notification bar, click on the setings button to edit the keyboard configurations, this can lead to a crash of fragment stack manager due to a NPE on this line