How is your button wired up? Sounds like you have a floating input. Search the forum for pull up or pull down resistors.