styling and double click for editing