add activity dropdown list and implement the focus out behavior of widget box