utility load function
add active styles to buttons