[fix]ui exception in AddActivity