How does Jira remembers Last created Issue Type in Create screen


Does anyone knows how does Jira remembers the last created issue type in create screen?
For example, I created a Defect yesterday and today when I comeback and try to create a new issue, the issue type populates Defect because Jira remembered somewhere.
Can someone help me with this logic?