Check click type first