Action bar icons
main algorithm