In short, I got my first work permit valid for two years. One month after the permit started, I changed my job and applied for new work permit and finally the work permit application was rejected more than a year later. I left Sweden and applied work permit from my home country and got approval on work permit. Now, I am close to complete my two years and will soon apply for an extension. Will my previously rejected work permit application effect my extension application? Will the time i spent i Sweden during the wait for my application that was rejected be taken into account?