Fix for the missing Dashicons

Function inside function is not a good idea in this case ;)
Merge pull request #1 from dziudek/master

Fix for the missing Dashicons