Deleted ResAndCom and PrefActivity