The simplest way to keep your avocado from turning brown is to store the leftover avocado with the pit still in, and then cover it in cling wrap before refrigerating it.  Another great idea is to drizzle a bit of fresh lemon juice over the avocado- this can help prevent oxidation.