Added basic functionality to some buttons