On a button click i have to get some value from API call and then launch one screen. I have two options: