Handle clicks for the db populate check