Adds class to latest added item