Set value based on current - Theo's Typesafe Cult