Switches directory back after adding to portfolio