i have iphone 4 jailbroken ios 6.1

sometimes when i press home, nothing happens (apps dont close) i though it might be broken so immiddiatly a pressed home and power and the phone did shut down everytime. im now suspecting some software is upsetting the home button, is there someone that knows which program could be causing this?