Refactor gauge widget for serialization