Changed button binding from r to p