giving the inventory activity an up button that returns user to the main activity