Added recentlyClosed to switch(u) for new dashboard