Wrote very ugly double click handler.