You should not need to make any changes to avast or rpc process. Avast protection should automatically be active from the moment you restart after installing it.
Right-click the balloon icon and select the bottom option "Start on-access protection". If a message pops up with an option something like 'make the change permanent', answer YES.