Refactoring variables in class TempoView