add nextViewKey prop to appContext