getOnBackInvokedDispatcher

Sets what happens if the user presses the 'back'-key