fix js for show-hide function, create RecentEvents and display them on tasks index view, and complete filtering menu