combine itemClicked func and setEntry, ready for service function