check wheither to show in or out when opening page

There was a bug that if you didn't toggle revenue and expense nothing was executed.