Add some utils and resolve a bug in ActivityUtil