Fix NPE inputProcessor before creating app