Added style select functionality