Add the admob and fix some bugs.