fixed bug with the remove bar button. Also a props versus state problem