Implement logic of associating entry to button that was clicked. Is likely buggy...