Add complete function
Add double click for editing items