Fixed back button issue on registration activity