Fix android error when press back button at last activity.