Go Edit>Accounts> and click on your Retained Earnings account. On the top right of the 'General' tab are radio buttons for the 3 possible types of accounts... just select Retained Earnings