setting app flow