ResultActivity is added, but there are still many bugs