link button divs and some code to check if they active added