Fixed purchase button bug