[rafiki]Added check to fix the null error.

Added check to fix the null error when clicking on an empty spot on the list.
Merge pull request #281 from masterbb/patch-4

[rafiki]Added check to fix the null error.