* Change undefined check to null check * Make notification index and action index more clear Fixes #178