buy projects and disable buy button after buying project