Related resources for two different alert in react native