I am making a custom workout app (one can build his/her own workout by entering up to 16 text in the form of Squats_3x20 for 3 reps of 20 squats, or Squats_45s for 45 seconds of squats, etc).
Anyway, I am using a menu when the user is in a workout and presses the menu button to let the user choose to resume or abort activity. When aborting I use a Ui.confirmation to confirm the selection and after that if there is an activity to be saved another Ui.confirmation to allow the user to save the activity.
The menu displays fine, I select 'abort' and the stop-confirmation shows, I confirm it and the save-confirmation comes up but then the stop and save-confirmations seems to be overlapping eachother.
The Save title is shown shortly, then the stop title again. If I confirm stop again I get the save confirm shortly but this goes back to the stop-confirm right away... etc
Pressing back (lap) i seem to be able to get back to the menu, but can't figure out how ti fix this.
Tried manually calling popView but this seems to mess with popview being called by the Ui.Confirmation and results in for example the mainview being popped or stuff like that.
Basically, is this expected behavior and how can I best handle this?
I am thinking about just cancelling the confirm on stop, but would like to know if there is something I have to take into account...
(I realize the post is a bit vague, hope it's kinda clear though)