Fixed restart dialog disappearing on Activity finish (closes #60).