Update apt-key-add

Multi-function looks confusing in an IF statement.
Cleaned it up and made it into a select-case function.