A little problem with single and double click