Factor out all view logic from TotpManager into TotpManagerDisplay