Added the feature to select all text when clicking editable weight and drinks