As you are running the wordpress in local host you can mysql query to change this. You can use this query .
UPDATE wp_options set 'option_value'= "https://localhost/mywordpress/" where 'option_id'= 1;
Here it is assume that u are using wp as prefix of table.