To change the administrator:
Log in as the administrator.
Go to Settings -> Human resources -> Users.
Open the user details who you wish to assign as the new administrator.
Check the "Admin" checkbox.
Confirm.
Save.