prod page size selected style fix

when prompt layout was changed, element that click ran on was changed.
Updated function that applies the style to the selected size.