fixed crash when actions is null,
fixed screen on bug.

git-svn-id: http://notifications-widget.googlecode.com/svn/trunk@213 21922344-3934-ee51-d6e3-fd981ce84c01