Exits app when back button is pressed twice in the passed interval on the index route of react-navigation