added selected style to form