I have written functionality for actionbar icons