feat(library): Update Current Index

CurrentIndex is now updated everytime a button is selected