I didn't try to run this code, but I am afraid that in my previous experiments I tired to do something similar with a 'wrong' result.

Can you please double check that `getActivity()` and `getFragmentManager()` returns a reference to the currently active instances and not to the instances that were active when the fragment has been created?

A way to test this would be to run the application with the two-phase rating enabled. Tap the button that brings you to the selection of the number of stars and rotate the screen while that dialog is still active. If this works we are going to be able to create the other dialogs, otherwise we will have to address this.