added spin when loading, and modified clearNotifications() to remove all nodes instead of first only using while loop