Add: swap function for form and result views